//package com.cheney.demo.designpatterns3.adapter;
//
//
//import com.cheney.demo.designpatterns3.adapter.adaptee.ZGSocketImpl;
//import com.cheney.demo.designpatterns3.adapter.adapter.ZGSocketGuojiSocketAdapter;
//
//public class DesignPatternDemo {
//
//	public static void main(String[] args) {
//		DeGuoHotel hotel = new DeGuoHotel();
//		// hotel.setDBSocket(new DBSocketGuojiSocketAdapter(new DBSocketImpl()));
//		hotel.setGuoJiSocket(new ZGSocketGuojiSocketAdapter(new ZGSocketImpl()));
//		hotel.charge();
//	}
//
//}
